﻿// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SALES_ORDER_TO_APP
// * CreateDate    : 2013/1/28 16:54:03
// * Creater       : SalesOrderToAppTable
// * LastChangeDate: 2013/1/28 16:54:03
// * LastChanger   : 2013/1/28 16:54:03
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class SalesOrderToAppTable : TableInfo
    {
        public const string C_TableName = "SALES_ORDER_TO_APP";

        public const string C_SALES_ORDER_ID = "SALES_ORDER_ID";
        public const string C_APPLICATION_ID = "APPLICATION_ID";

        public SalesOrderToAppTable()
        {
            _tableName = "SALES_ORDER_TO_APP";
        }

        protected static SalesOrderToAppTable _current;
        public static SalesOrderToAppTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new SalesOrderToAppTable();

            _current.Add(C_SALES_ORDER_ID, new ColumnInfo(C_SALES_ORDER_ID, "SalesOrderId", false, typeof(string)));
            _current.Add(C_APPLICATION_ID, new ColumnInfo(C_APPLICATION_ID, "ApplicationId", false, typeof(string)));

        }

        public ColumnInfo SALES_ORDER_ID
        {
            get { return this[C_SALES_ORDER_ID]; }
        }

        public ColumnInfo APPLICATION_ID
        {
            get { return this[C_APPLICATION_ID]; }
        }



    }
}

